-- GENERATED SPELL FOR [Mariner Evenmist] --


function spell0_25007(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25007', 5315, 1)
end

function Sorts_25007(pUnit, Event)
local choix_sorts_25007 = math.random(0, 0)
if choix_sorts_25007 == 0 then
pUnit:RegisterEvent('spell0_25007', 1, 1)
end
end

function mob25007_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25007', math.random(1500, 3000), 1)
end

function mob25007_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25007_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25007_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25007, 1, 'mob25007_Action')
RegisterUnitEvent(25007, 2, 'mob25007_Leave')
RegisterUnitEvent(25007, 3, 'mob25007_Kill')
RegisterUnitEvent(25007, 4, 'mob25007_Die')
